package com.twu.biblioteca.options;

import com.twu.biblioteca.streams.AppOutputStream;

import java.io.IOException;
import java.io.OutputStream;

public class ExitSystem implements Option {

    @Override
    public void execute() throws IOException {
        AppOutputStream.writeLine("Bye Bye !\n");
    }

    @Override
    public String toString() {
        return "Exit System";
    }
}

